// Copyright DustedPixels.com 2008. All rights reserved.

package kroff;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class Oscillator implements Runnable {
  private final Pin output;

  public Oscillator(Pin output) {
    this.output = output;
  }
  
  public void run() {
    output.set(!output.get());
  }
}
